﻿//===================================================================================
// Copyright (c) Ryan Garrett.  All rights reserved.
// THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY
// OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT
// LIMITED TO THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
// FITNESS FOR A PARTICULAR PURPOSE.
//===================================================================================

using System;

namespace Caffeine.Core.Test.TestModel.PropertyRegistrations
{
    public class ModelForRegistrationFailureN : ModelBase
    {
        public ModelForRegistrationFailureN()
        {
            ModelProperty<EquatableModel> viewModelProperty = RegisterProperty<EquatableModel>("IntProperty");
            RegisterComputedProperty<EquatableModel>("ComputedModelProperty", (properties, newPropertyValue) => { return null; }, viewModelProperty);
        }
    }
}
